package com.stenio.fancat.domain.behavior;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_behavior_image")
public class BehaviorImage extends BaseEntity {

    /** 序列化ID */
    private static final long serialVersionUID = 2707861627622203466L;

    /** 自增主键 */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("behavior_id")
    private String behaviorId;
    @TableField("url")
    private String url;
}
